home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 47 / PC Gamer IT CD 47 2-2.iso / Nerf / NERFDEMO.EXE / System / NerfWeapon.u / RoxInBarrel_ball_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-10-21  |  3.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 74 3d 2f 2f 3d 3d 3d 3d |........|t=//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 62 61 |========|=..// ba|
|00000060| 6c 6c 2e 0d 0a 2f 2f 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ll...//=|========|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 0d 0a 63 6c | 61 73 73 20 62 61 6c 6c |====..cl|ass ball|
|000000c0| 20 65 78 70 61 6e 64 73 | 20 50 72 6f 6a 65 63 74 | expands| Project|
|000000d0| 69 6c 65 3b 0d 0a 0d 0a | 23 65 78 65 63 20 4d 45 |ile;....|#exec ME|
|000000e0| 53 48 20 49 4d 50 4f 52 | 54 20 4d 45 53 48 3d 62 |SH IMPOR|T MESH=b|
|000000f0| 61 6c 6c 20 41 4e 49 56 | 46 49 4c 45 3d 67 3a 5c |all ANIV|FILE=g:\|
|00000100| 4e 65 72 66 52 65 73 5c | 77 65 61 70 6f 6e 4d 65 |NerfRes\|weaponMe|
|00000110| 73 68 5c 4d 4f 44 45 4c | 53 5c 62 61 6c 6c 30 31 |sh\MODEL|S\ball01|
|00000120| 5f 61 2e 33 64 20 44 41 | 54 41 46 49 4c 45 3d 67 |_a.3d DA|TAFILE=g|
|00000130| 3a 5c 4e 65 72 66 52 65 | 73 5c 77 65 61 70 6f 6e |:\NerfRe|s\weapon|
|00000140| 4d 65 73 68 5c 4d 4f 44 | 45 4c 53 5c 62 61 6c 6c |Mesh\MOD|ELS\ball|
|00000150| 30 31 5f 64 2e 33 64 20 | 58 3d 30 20 59 3d 30 20 |01_d.3d |X=0 Y=0 |
|00000160| 5a 3d 30 0d 0a 23 65 78 | 65 63 20 4d 45 53 48 20 |Z=0..#ex|ec MESH |
|00000170| 4f 52 49 47 49 4e 20 4d | 45 53 48 3d 62 61 6c 6c |ORIGIN M|ESH=ball|
|00000180| 20 58 3d 30 20 59 3d 30 | 20 5a 3d 30 0d 0a 0d 0a | X=0 Y=0| Z=0....|
|00000190| 23 65 78 65 63 20 4d 45 | 53 48 20 53 45 51 55 45 |#exec ME|SH SEQUE|
|000001a0| 4e 43 45 20 4d 45 53 48 | 3d 62 61 6c 6c 20 53 45 |NCE MESH|=ball SE|
|000001b0| 51 3d 41 6c 6c 20 20 53 | 54 41 52 54 46 52 41 4d |Q=All S|TARTFRAM|
|000001c0| 45 3d 30 20 4e 55 4d 46 | 52 41 4d 45 53 3d 31 0d |E=0 NUMF|RAMES=1.|
|000001d0| 0a 0d 0a 23 65 78 65 63 | 20 54 45 58 54 55 52 45 |...#exec| TEXTURE|
|000001e0| 20 49 4d 50 4f 52 54 20 | 4e 41 4d 45 3d 4a 62 61 | IMPORT |NAME=Jba|
|000001f0| 6c 6c 30 20 46 49 4c 45 | 3d 67 3a 5c 4e 65 72 66 |ll0 FILE|=g:\Nerf|
|00000200| 52 65 73 5c 77 65 61 70 | 6f 6e 4d 65 73 68 5c 4d |Res\weap|onMesh\M|
|00000210| 4f 44 45 4c 53 5c 62 61 | 6c 6c 30 31 5f 30 31 2e |ODELS\ba|ll01_01.|
|00000220| 50 43 58 20 47 52 4f 55 | 50 3d 53 6b 69 6e 73 20 |PCX GROU|P=Skins |
|00000230| 46 4c 41 47 53 3d 32 20 | 2f 2f 20 53 6b 69 6e 0d |FLAGS=2 |// Skin.|
|00000240| 0a 0d 0a 23 65 78 65 63 | 20 4d 45 53 48 4d 41 50 |...#exec| MESHMAP|
|00000250| 20 4e 45 57 20 20 20 4d | 45 53 48 4d 41 50 3d 62 | NEW M|ESHMAP=b|
|00000260| 61 6c 6c 20 4d 45 53 48 | 3d 62 61 6c 6c 0d 0a 23 |all MESH|=ball..#|
|00000270| 65 78 65 63 20 4d 45 53 | 48 4d 41 50 20 53 43 41 |exec MES|HMAP SCA|
|00000280| 4c 45 20 4d 45 53 48 4d | 41 50 3d 62 61 6c 6c 20 |LE MESHM|AP=ball |
|00000290| 58 3d 30 2e 31 20 59 3d | 30 2e 31 20 5a 3d 30 2e |X=0.1 Y=|0.1 Z=0.|
|000002a0| 32 0d 0a 0d 0a 23 65 78 | 65 63 20 4d 45 53 48 4d |2....#ex|ec MESHM|
|000002b0| 41 50 20 53 45 54 54 45 | 58 54 55 52 45 20 4d 45 |AP SETTE|XTURE ME|
|000002c0| 53 48 4d 41 50 3d 62 61 | 6c 6c 20 4e 55 4d 3d 31 |SHMAP=ba|ll NUM=1|
|000002d0| 20 54 45 58 54 55 52 45 | 3d 4a 62 61 6c 6c 30 0d | TEXTURE|=Jball0.|
|000002e0| 0a 0d 0a 2f 2f 20 49 6d | 70 61 63 74 20 53 6f 75 |...// Im|pact Sou|
|000002f0| 6e 64 0d 0a 23 65 78 65 | 63 20 41 55 44 49 4f 20 |nd..#exe|c AUDIO |
|00000300| 49 4d 50 4f 52 54 20 46 | 49 4c 45 3d 22 67 3a 5c |IMPORT F|ILE="g:\|
|00000310| 4e 65 72 66 52 65 73 5c | 73 63 72 70 74 73 6e 64 |NerfRes\|scrptsnd|
|00000320| 5c 73 70 65 63 69 61 6c | 66 78 5c 68 74 7a 6f 6b |\special|fx\htzok|
|00000330| 2e 77 61 76 22 20 4e 41 | 4d 45 3d 22 42 61 6c 6c |.wav" NA|ME="Ball|
|00000340| 68 69 74 53 22 20 47 52 | 4f 55 50 3d 22 42 61 6c |hitS" GR|OUP="Bal|
|00000350| 6c 7a 6f 6b 61 22 0d 0a | 0d 0a 76 61 72 20 62 6f |lzoka"..|..var bo|
|00000360| 6f 6c 20 62 43 61 6e 48 | 69 74 4f 77 6e 65 72 2c |ol bCanH|itOwner,|
|00000370| 20 62 48 69 74 57 61 74 | 65 72 3b 0d 0a 76 61 72 | bHitWat|er;..var|
|00000380| 20 66 6c 6f 61 74 20 43 | 6f 75 6e 74 2c 20 53 6d | float C|ount, Sm|
|00000390| 6f 6b 65 52 61 74 65 3b | 0d 0a 76 61 72 20 4e 65 |okeRate;|..var Ne|
|000003a0| 72 66 42 6f 74 73 20 57 | 61 72 6e 54 61 72 67 65 |rfBots W|arnTarge|
|000003b0| 74 3b 09 2f 2f 20 77 61 | 72 6e 20 74 68 69 73 20 |t;.// wa|rn this |
|000003c0| 70 61 77 6e 20 61 77 61 | 79 0d 0a 76 61 72 20 69 |pawn awa|y..var i|
|000003d0| 6e 74 20 4e 75 6d 45 78 | 74 72 61 42 61 6c 6c 73 |nt NumEx|traBalls|
|000003e0| 3b 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 50 6f |;....fun|ction Po|
|000003f0| 73 74 42 65 67 69 6e 50 | 6c 61 79 28 29 0d 0a 7b |stBeginP|lay()..{|
|00000400| 0d 0a 09 6c 6f 63 61 6c | 20 76 65 63 74 6f 72 20 |...local| vector |
|00000410| 58 2c 59 2c 5a 3b 0d 0a | 09 6c 6f 63 61 6c 20 72 |X,Y,Z;..|.local r|
|00000420| 6f 74 61 74 6f 72 20 52 | 61 6e 64 52 6f 74 3b 0d |otator R|andRot;.|
|00000430| 0a 0d 0a 09 53 75 70 65 | 72 2e 50 6f 73 74 42 65 |....Supe|r.PostBe|
|00000440| 67 69 6e 50 6c 61 79 28 | 29 3b 0d 0a 09 47 65 74 |ginPlay(|);...Get|
|00000450| 41 78 65 73 28 49 6e 73 | 74 69 67 61 74 6f 72 2e |Axes(Ins|tigator.|
|00000460| 56 69 65 77 52 6f 74 61 | 74 69 6f 6e 2c 58 2c 59 |ViewRota|tion,X,Y|
|00000470| 2c 5a 29 3b 09 0d 0a 09 | 56 65 6c 6f 63 69 74 79 |,Z);....|Velocity|
|00000480| 20 3d 20 58 20 2a 20 28 | 49 6e 73 74 69 67 61 74 | = X * (|Instigat|
|00000490| 6f 72 2e 56 65 6c 6f 63 | 69 74 79 20 44 6f 74 20 |or.Veloc|ity Dot |
|000004a0| 58 29 2a 30 2e 34 20 2b | 20 56 65 63 74 6f 72 28 |X)*0.4 +| Vector(|
|000004b0| 52 6f 74 61 74 69 6f 6e | 29 20 2a 20 53 70 65 65 |Rotation|) * Spee|
|000004c0| 64 20 2b 0d 0a 09 09 46 | 52 61 6e 64 28 29 20 2a |d +....F|Rand() *|
|000004d0| 20 31 30 30 20 2a 20 56 | 65 63 74 6f 72 28 52 6f | 100 * V|ector(Ro|
|000004e0| 74 61 74 69 6f 6e 29 3b | 0d 0a 09 56 65 6c 6f 63 |tation);|...Veloc|
|000004f0| 69 74 79 2e 7a 20 2b 3d | 20 32 31 30 3b 0d 0a 09 |ity.z +=| 210;...|
|00000500| 53 65 74 54 69 6d 65 72 | 28 32 2e 35 2b 46 52 61 |SetTimer|(2.5+FRa|
|00000510| 6e 64 28 29 2a 30 2e 35 | 2c 66 61 6c 73 65 29 3b |nd()*0.5|,false);|
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000530| 20 20 2f 2f 42 61 6c 6c | 20 62 65 67 69 6e 73 20 | //Ball| begins |
|00000540| 75 6e 61 72 6d 65 64 0d | 0a 09 4d 61 78 53 70 65 |unarmed.|..MaxSpe|
|00000550| 65 64 20 3d 20 32 30 30 | 30 3b 0d 0a 09 56 65 6c |ed = 200|0;...Vel|
|00000560| 6f 63 69 74 79 20 3d 20 | 56 65 6c 6f 63 69 74 79 |ocity = |Velocity|
|00000570| 20 3e 3e 20 52 61 6e 64 | 52 6f 74 3b 0d 0a 09 52 | >> Rand|Rot;...R|
|00000580| 61 6e 64 53 70 69 6e 28 | 35 30 30 30 30 29 3b 09 |andSpin(|50000);.|
|00000590| 0d 0a 09 62 43 61 6e 48 | 69 74 4f 77 6e 65 72 20 |...bCanH|itOwner |
|000005a0| 3d 20 46 61 6c 73 65 3b | 0d 0a 09 69 66 20 28 49 |= False;|...if (I|
|000005b0| 6e 73 74 69 67 61 74 6f | 72 2e 48 65 61 64 52 65 |nstigato|r.HeadRe|
|000005c0| 67 69 6f 6e 2e 5a 6f 6e | 65 2e 62 57 61 74 65 72 |gion.Zon|e.bWater|
|000005d0| 5a 6f 6e 65 29 0d 0a 09 | 7b 0d 0a 09 09 62 48 69 |Zone)...|{....bHi|
|000005e0| 74 57 61 74 65 72 20 3d | 20 54 72 75 65 3b 0d 0a |tWater =| True;..|
|000005f0| 09 09 44 69 73 61 62 6c | 65 28 27 54 69 63 6b 27 |..Disabl|e('Tick'|
|00000600| 29 3b 0d 0a 09 09 56 65 | 6c 6f 63 69 74 79 3d 30 |);....Ve|locity=0|
|00000610| 2e 36 2a 56 65 6c 6f 63 | 69 74 79 3b 09 09 09 0d |.6*Veloc|ity;....|
|00000620| 0a 09 7d 09 0d 0a 7d 0d | 0a 0d 0a 73 69 6d 75 6c |..}...}.|...simul|
|00000630| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 20 42 65 |ated fun|ction Be|
|00000640| 67 69 6e 50 6c 61 79 28 | 29 0d 0a 7b 0d 0a 09 69 |ginPlay(|)..{...i|
|00000650| 66 20 28 4c 65 76 65 6c | 2e 62 48 69 67 68 44 65 |f (Level|.bHighDe|
|00000660| 74 61 69 6c 4d 6f 64 65 | 29 20 53 6d 6f 6b 65 52 |tailMode|) SmokeR|
|00000670| 61 74 65 20 3d 20 30 2e | 30 33 3b 0d 0a 09 65 6c |ate = 0.|03;...el|
|00000680| 73 65 20 53 6d 6f 6b 65 | 52 61 74 65 20 3d 20 30 |se Smoke|Rate = 0|
|00000690| 2e 31 35 3b 0d 0a 7d 0d | 0a 0d 0a 09 73 69 6d 75 |.15;..}.|....simu|
|000006a0| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 5a |lated fu|nction Z|
|000006b0| 6f 6e 65 43 68 61 6e 67 | 65 28 20 5a 6f 6e 65 69 |oneChang|e( Zonei|
|000006c0| 6e 66 6f 20 4e 65 77 5a | 6f 6e 65 20 29 0d 0a 09 |nfo NewZ|one )...|
|000006d0| 7b 0d 0a 09 09 6c 6f 63 | 61 6c 20 77 61 74 65 72 |{....loc|al water|
|000006e0| 72 69 6e 67 20 77 3b 0d | 0a 09 09 0d 0a 09 09 69 |ring w;.|.......i|
|000006f0| 66 20 28 21 4e 65 77 5a | 6f 6e 65 2e 62 57 61 74 |f (!NewZ|one.bWat|
|00000700| 65 72 5a 6f 6e 65 20 7c | 7c 20 62 48 69 74 57 61 |erZone ||| bHitWa|
|00000710| 74 65 72 29 20 52 65 74 | 75 72 6e 3b 0d 0a 0d 0a |ter) Ret|urn;....|
|00000720| 09 09 62 48 69 74 57 61 | 74 65 72 20 3d 20 54 72 |..bHitWa|ter = Tr|
|00000730| 75 65 3b 0d 0a 09 09 77 | 20 3d 20 53 70 61 77 6e |ue;....w| = Spawn|
|00000740| 28 63 6c 61 73 73 27 57 | 61 74 65 72 52 69 6e 67 |(class'W|aterRing|
|00000750| 27 2c 2c 2c 2c 72 6f 74 | 28 31 36 33 38 34 2c 30 |',,,,rot|(16384,0|
|00000760| 2c 30 29 29 3b 0d 0a 09 | 09 77 2e 44 72 61 77 53 |,0));...|.w.DrawS|
|00000770| 63 61 6c 65 20 3d 20 30 | 2e 32 3b 0d 0a 09 09 77 |cale = 0|.2;....w|
|00000780| 2e 52 65 6d 6f 74 65 52 | 6f 6c 65 20 3d 20 52 4f |.RemoteR|ole = RO|
|00000790| 4c 45 5f 4e 6f 6e 65 3b | 0d 0a 09 09 56 65 6c 6f |LE_None;|....Velo|
|000007a0| 63 69 74 79 3d 30 2e 36 | 2a 56 65 6c 6f 63 69 74 |city=0.6|*Velocit|
|000007b0| 79 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 66 75 6e 63 74 |y;...}..|...funct|
|000007c0| 69 6f 6e 20 54 69 6d 65 | 72 28 29 0d 0a 09 7b 0d |ion Time|r()...{.|
|000007d0| 0a 2f 2f 09 09 45 78 70 | 6c 6f 73 69 6f 6e 28 4c |.//..Exp|losion(L|
|000007e0| 6f 63 61 74 69 6f 6e 2b | 56 65 63 74 28 30 2c 30 |ocation+|Vect(0,0|
|000007f0| 2c 31 29 2a 31 36 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |,1)*16);|...}....|
|00000800| 09 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00000810| 69 6f 6e 20 54 69 63 6b | 28 66 6c 6f 61 74 20 44 |ion Tick|(float D|
|00000820| 65 6c 74 61 54 69 6d 65 | 29 0d 0a 09 7b 0d 0a 0d |eltaTime|)...{...|
|00000830| 0a 09 09 69 66 20 28 62 | 48 69 74 57 61 74 65 72 |...if (b|HitWater|
|00000840| 29 20 0d 0a 09 09 7b 0d | 0a 09 09 09 44 69 73 61 |) ....{.|....Disa|
|00000850| 62 6c 65 28 27 54 69 63 | 6b 27 29 3b 0d 0a 09 09 |ble('Tic|k');....|
|00000860| 09 52 65 74 75 72 6e 3b | 0d 0a 09 09 7d 0d 0a 09 |.Return;|....}...|
|00000870| 09 43 6f 75 6e 74 20 2b | 3d 20 44 65 6c 74 61 54 |.Count +|= DeltaT|
|00000880| 69 6d 65 3b 0d 0a 09 09 | 69 66 20 28 20 28 50 68 |ime;....|if ( (Ph|
|00000890| 79 73 69 63 73 20 3d 3d | 20 50 48 59 53 5f 4e 6f |ysics ==| PHYS_No|
|000008a0| 6e 65 29 20 26 26 20 28 | 57 61 72 6e 54 61 72 67 |ne) && (|WarnTarg|
|000008b0| 65 74 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 57 |et != No|ne) && W|
|000008c0| 61 72 6e 54 61 72 67 65 | 74 2e 62 43 61 6e 44 75 |arnTarge|t.bCanDu|
|000008d0| 63 6b 20 0d 0a 09 09 09 | 26 26 20 28 57 61 72 6e |ck .....|&& (Warn|
|000008e0| 54 61 72 67 65 74 2e 50 | 68 79 73 69 63 73 20 3d |Target.P|hysics =|
|000008f0| 3d 20 50 48 59 53 5f 57 | 61 6c 6b 69 6e 67 29 20 |= PHYS_W|alking) |
|00000900| 26 26 20 28 57 61 72 6e | 54 61 72 67 65 74 2e 41 |&& (Warn|Target.A|
|00000910| 63 63 65 6c 65 72 61 74 | 69 6f 6e 20 21 3d 20 76 |ccelerat|ion != v|
|00000920| 65 63 74 28 30 2c 30 2c | 30 29 29 20 29 0d 0a 09 |ect(0,0,|0)) )...|
|00000930| 09 09 57 61 72 6e 54 61 | 72 67 65 74 2e 56 65 6c |..WarnTa|rget.Vel|
|00000940| 6f 63 69 74 79 20 3d 20 | 57 61 72 6e 54 61 72 67 |ocity = |WarnTarg|
|00000950| 65 74 2e 56 65 6c 6f 63 | 69 74 79 20 2b 20 32 20 |et.Veloc|ity + 2 |
|00000960| 2a 20 44 65 6c 74 61 54 | 69 6d 65 20 2a 20 57 61 |* DeltaT|ime * Wa|
|00000970| 72 6e 54 61 72 67 65 74 | 2e 47 72 6f 75 6e 64 53 |rnTarget|.GroundS|
|00000980| 70 65 65 64 20 0d 0a 09 | 09 09 09 09 09 09 09 09 |peed ...|........|
|00000990| 2a 20 4e 6f 72 6d 61 6c | 28 57 61 72 6e 54 61 72 |* Normal|(WarnTar|
|000009a0| 67 65 74 2e 4c 6f 63 61 | 74 69 6f 6e 20 2d 20 4c |get.Loca|tion - L|
|000009b0| 6f 63 61 74 69 6f 6e 29 | 3b 0d 0a 09 7d 0d 0a 0d |ocation)|;...}...|
|000009c0| 0a 09 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|000009d0| 74 69 6f 6e 20 4c 61 6e | 64 65 64 28 20 76 65 63 |tion Lan|ded( vec|
|000009e0| 74 6f 72 20 48 69 74 4e | 6f 72 6d 61 6c 20 29 0d |tor HitN|ormal ).|
|000009f0| 0a 09 7b 0d 0a 09 09 48 | 69 74 57 61 6c 6c 28 20 |..{....H|itWall( |
|00000a00| 48 69 74 4e 6f 72 6d 61 | 6c 2c 20 4e 6f 6e 65 20 |HitNorma|l, None |
|00000a10| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 66 75 6e 63 74 |);...}..|...funct|
|00000a20| 69 6f 6e 20 50 72 6f 63 | 65 73 73 54 6f 75 63 68 |ion Proc|essTouch|
|00000a30| 28 20 61 63 74 6f 72 20 | 4f 74 68 65 72 2c 20 76 |( actor |Other, v|
|00000a40| 65 63 74 6f 72 20 48 69 | 74 4c 6f 63 61 74 69 6f |ector Hi|tLocatio|
|00000a50| 6e 20 29 0d 0a 09 7b 0d | 0a 09 09 6c 6f 63 61 6c |n )...{.|...local|
|00000a60| 20 42 61 6c 6c 45 78 70 | 20 73 3b 0d 0a 0d 0a 09 | BallExp| s;.....|
|00000a70| 09 69 66 20 28 28 28 4f | 74 68 65 72 21 3d 69 6e |.if (((O|ther!=in|
|00000a80| 73 74 69 67 61 74 6f 72 | 29 20 7c 7c 20 62 43 61 |stigator|) || bCa|
|00000a90| 6e 48 69 74 4f 77 6e 65 | 72 20 29 20 26 26 20 28 |nHitOwne|r ) && (|
|00000aa0| 50 61 77 6e 28 4f 74 68 | 65 72 29 21 3d 4e 6f 6e |Pawn(Oth|er)!=Non|
|00000ab0| 65 29 29 0d 0a 09 09 7b | 0d 0a 09 09 09 45 78 70 |e))....{|.....Exp|
|00000ac0| 6c 6f 73 69 6f 6e 28 48 | 69 74 4c 6f 63 61 74 69 |losion(H|itLocati|
|00000ad0| 6f 6e 29 3b 0d 0a 0d 0a | 09 09 09 73 20 3d 20 73 |on);....|...s = s|
|00000ae0| 70 61 77 6e 28 63 6c 61 | 73 73 27 42 61 6c 6c 45 |pawn(cla|ss'BallE|
|00000af0| 78 70 27 2c 2c 2c 48 69 | 74 4c 6f 63 61 74 69 6f |xp',,,Hi|tLocatio|
|00000b00| 6e 29 3b 09 0d 0a 09 09 | 09 73 2e 52 65 6d 6f 74 |n);.....|.s.Remot|
|00000b10| 65 52 6f 6c 65 20 3d 20 | 52 4f 4c 45 5f 4e 6f 6e |eRole = |ROLE_Non|
|00000b20| 65 3b 0d 0a 0d 0a 09 09 | 09 64 65 73 74 72 6f 79 |e;......|.destroy|
|00000b30| 28 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 0d 0a |();....}|...}....|
|00000b40| 09 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00000b50| 69 6f 6e 20 48 69 74 57 | 61 6c 6c 28 20 76 65 63 |ion HitW|all( vec|
|00000b60| 74 6f 72 20 48 69 74 4e | 6f 72 6d 61 6c 2c 20 61 |tor HitN|ormal, a|
|00000b70| 63 74 6f 72 20 57 61 6c | 6c 20 29 0d 0a 09 7b 0d |ctor Wal|l )...{.|
|00000b80| 0a 09 09 0d 0a 09 09 56 | 65 6c 6f 63 69 74 79 20 |.......V|elocity |
|00000b90| 3d 20 30 2e 38 2a 28 28 | 20 56 65 6c 6f 63 69 74 |= 0.8*((| Velocit|
|00000ba0| 79 20 64 6f 74 20 48 69 | 74 4e 6f 72 6d 61 6c 20 |y dot Hi|tNormal |
|00000bb0| 29 20 2a 20 48 69 74 4e | 6f 72 6d 61 6c 20 2a 20 |) * HitN|ormal * |
|00000bc0| 28 2d 32 2e 30 29 20 2b | 20 56 65 6c 6f 63 69 74 |(-2.0) +| Velocit|
|00000bd0| 79 29 3b 20 20 20 2f 2f | 20 52 65 66 6c 65 63 74 |y); //| Reflect|
|00000be0| 20 6f 66 66 20 57 61 6c | 6c 20 77 2f 64 61 6d 70 | off Wal|l w/damp|
|00000bf0| 69 6e 67 0d 0a 09 09 52 | 61 6e 64 53 70 69 6e 28 |ing....R|andSpin(|
|00000c00| 31 30 30 30 30 30 29 3b | 0d 0a 09 09 73 70 65 65 |100000);|....spee|
|00000c10| 64 20 3d 20 56 53 69 7a | 65 28 56 65 6c 6f 63 69 |d = VSiz|e(Veloci|
|00000c20| 74 79 29 3b 0d 0a 0d 0a | 2f 2f 23 23 6e 65 72 66 |ty);....|//##nerf|
|00000c30| 20 57 45 53 20 0d 0a 09 | 09 57 61 6c 6c 2e 54 61 | WES ...|.Wall.Ta|
|00000c40| 6b 65 44 61 6d 61 67 65 | 28 30 2c 20 49 6e 73 74 |keDamage|(0, Inst|
|00000c50| 69 67 61 74 6f 72 2c 20 | 4c 6f 63 61 74 69 6f 6e |igator, |Location|
|00000c60| 2c 20 56 65 63 74 28 30 | 2c 30 2c 30 29 2c 20 27 |, Vect(0|,0,0), '|
|00000c70| 73 68 6f 74 27 29 3b 0d | 0a 0d 0a 09 09 69 66 20 |shot');.|.....if |
|00000c80| 28 20 4c 65 76 65 6c 2e | 4e 65 74 4d 6f 64 65 20 |( Level.|NetMode |
|00000c90| 21 3d 20 4e 4d 5f 44 65 | 64 69 63 61 74 65 64 53 |!= NM_De|dicatedS|
|00000ca0| 65 72 76 65 72 20 29 0d | 0a 09 09 09 50 6c 61 79 |erver ).|....Play|
|00000cb0| 53 6f 75 6e 64 28 49 6d | 70 61 63 74 53 6f 75 6e |Sound(Im|pactSoun|
|00000cc0| 64 2c 20 53 4c 4f 54 5f | 4d 69 73 63 2c 20 46 4d |d, SLOT_|Misc, FM|
|00000cd0| 61 78 28 30 2e 35 2c 20 | 73 70 65 65 64 2f 38 30 |ax(0.5, |speed/80|
|00000ce0| 30 29 20 29 3b 0d 0a 09 | 09 69 66 20 28 20 56 65 |0) );...|.if ( Ve|
|00000cf0| 6c 6f 63 69 74 79 2e 5a | 20 3e 20 34 30 30 20 29 |locity.Z| > 400 )|
|00000d00| 0d 0a 09 09 09 56 65 6c | 6f 63 69 74 79 2e 5a 20 |.....Vel|ocity.Z |
|00000d10| 3d 20 30 2e 35 20 2a 20 | 28 34 30 30 20 2b 20 56 |= 0.5 * |(400 + V|
|00000d20| 65 6c 6f 63 69 74 79 2e | 5a 29 3b 09 0d 0a 09 09 |elocity.|Z);.....|
|00000d30| 65 6c 73 65 20 69 66 20 | 28 20 73 70 65 65 64 20 |else if |( speed |
|00000d40| 3c 20 32 30 20 29 20 0d | 0a 09 09 7b 0d 0a 09 09 |< 20 ) .|...{....|
|00000d50| 09 62 42 6f 75 6e 63 65 | 20 3d 20 46 61 6c 73 65 |.bBounce| = False|
|00000d60| 3b 0d 0a 09 09 09 53 65 | 74 50 68 79 73 69 63 73 |;.....Se|tPhysics|
|00000d70| 28 50 48 59 53 5f 4e 6f | 6e 65 29 3b 0d 0a 09 09 |(PHYS_No|ne);....|
|00000d80| 09 42 65 63 6f 6d 65 42 | 61 6c 6c 50 69 63 6b 75 |.BecomeB|allPicku|
|00000d90| 70 28 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 0d |p();....|}...}...|
|00000da0| 0a 09 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |..//////|////////|
|00000db0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000dc0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000dd0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 0d 0a 09 66 75 6e 63 |////////|/...func|
|00000de0| 74 69 6f 6e 20 45 78 70 | 6c 6f 73 69 6f 6e 28 76 |tion Exp|losion(v|
|00000df0| 65 63 74 6f 72 20 48 69 | 74 4c 6f 63 61 74 69 6f |ector Hi|tLocatio|
|00000e00| 6e 29 0d 0a 09 7b 0d 0a | 09 09 50 6c 61 79 53 6f |n)...{..|..PlaySo|
|00000e10| 75 6e 64 28 53 70 61 77 | 6e 53 6f 75 6e 64 29 3b |und(Spaw|nSound);|
|00000e20| 0d 0a 09 09 48 75 72 74 | 52 61 64 69 75 73 28 64 |....Hurt|Radius(d|
|00000e30| 61 6d 61 67 65 2c 20 35 | 30 2c 20 27 65 78 70 6c |amage, 5|0, 'expl|
|00000e40| 6f 64 65 64 27 2c 20 4d | 6f 6d 65 6e 74 75 6d 54 |oded', M|omentumT|
|00000e50| 72 61 6e 73 66 65 72 2c | 20 48 69 74 4c 6f 63 61 |ransfer,| HitLoca|
|00000e60| 74 69 6f 6e 29 3b 0d 0a | 0d 0a 09 7d 0d 0a 09 0d |tion);..|...}....|
|00000e70| 0a 09 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|00000e80| 74 69 6f 6e 20 42 65 63 | 6f 6d 65 42 61 6c 6c 50 |tion Bec|omeBallP|
|00000e90| 69 63 6b 75 70 28 29 0d | 0a 09 7b 0d 0a 09 09 6c |ickup().|..{....l|
|00000ea0| 6f 63 61 6c 20 56 65 63 | 74 6f 72 20 54 65 6d 70 |ocal Vec|tor Temp|
|00000eb0| 4c 6f 63 3b 0d 0a 09 09 | 6c 6f 63 61 6c 20 42 61 |Loc;....|local Ba|
|00000ec0| 6c 6c 50 69 63 6b 75 70 | 20 62 3b 0d 0a 09 09 0d |llPickup| b;.....|
|00000ed0| 0a 09 09 54 65 6d 70 4c | 6f 63 20 3d 20 4c 6f 63 |...TempL|oc = Loc|
|00000ee0| 61 74 69 6f 6e 3b 0d 0a | 09 09 44 65 73 74 72 6f |ation;..|..Destro|
|00000ef0| 79 28 29 3b 0d 0a 09 0d | 0a 09 09 69 66 20 28 20 |y();....|...if ( |
|00000f00| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 21 3d |Level.Ne|tMode !=|
|00000f10| 20 4e 4d 5f 43 6c 69 65 | 6e 74 20 29 20 0d 0a 09 | NM_Clie|nt ) ...|
|00000f20| 09 7b 0d 0a 09 09 09 62 | 3d 53 70 61 77 6e 28 63 |.{.....b|=Spawn(c|
|00000f30| 6c 61 73 73 20 27 42 61 | 6c 6c 50 69 63 6b 75 70 |lass 'Ba|llPickup|
|00000f40| 27 2c 2c 27 27 2c 54 65 | 6d 70 4c 6f 63 2c 72 6f |',,'',Te|mpLoc,ro|
|00000f50| 74 28 30 2c 30 2c 30 29 | 29 3b 0d 0a 09 09 09 62 |t(0,0,0)|);.....b|
|00000f60| 2e 4c 69 66 65 53 70 61 | 6e 3d 2b 31 30 2e 30 3b |.LifeSpa|n=+10.0;|
|00000f70| 0d 0a 09 09 7d 0d 0a 09 | 7d 0d 0a 0d 0a 00 |....}...|}..... |
+--------+-------------------------+-------------------------+--------+--------+